package mipo.top.admin.mapper;

import mipo.top.admin.domain.Department;
import mipo.top.admin.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {

    List<Department> findall();

    Department findByid(Long id);

    void insert(Department department);

    void updata(Department department);

    void delete(Long id);

    Integer count(DepartmentQuery query);

    List<Department> queryDate(DepartmentQuery query);

    void bacthDel(List<Long> ids);
}
